# Original conkyrc file by TheRob @ gnome-look.org
# http://www.gnome-look.org/content/show.php/Slickness+Black?content=73210
# modifications by truckerbomb:
# wrote shuffleconky.py to shuffle certain sections in and out
# date with suffix provided by python script conkysuffix.py
# network section appears only when connection present
# detect presence of USB thumbdrive and add to Filesystem section when mounted
# added a GMail checker, gmail_parser.py
# Make the following changes below:
# replace /YOUR/PATH/TO/filename with correct paths
# replace YOURGMAILUSERNAME/PASSWORD with your info
# replace /media/YOURTHUMBDRIVE with your thumbdrives folder name in /media
# if you use wifi replace all "ppp0"'s in NETWORK section with "eth0"


background yes
text_buffer_size 2000
font Snap.se:size=8
xftfont Snap.se:size=8
use_xft yes
xftalpha 0.1
update_interval 1.0
total_run_times 0
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders no
minimum_size 1000 1000
maximum_width 280
default_color ffffff
default_shade_color 000000
default_outline_color 000000
alignment top_right
gap_x 6
gap_y 25
no_buffers yes
cpu_avg_samples 2
override_utf8_locale no
uppercase no # set to yes if you want all text to be in uppercase
use_spacer none

TEXT
${font LCD:style=Bold:pixelsize=56}${alignc}${time %H:%M:%S}${font Snap.se:size=8}

${alignc}${time %A}, ${time %B %e}${texeci 600 python /YOUR/PATH/TO/conkysuffix.py} ${time %Y}
${font Aerial:style=Bold:pixelsize=12}SYSTEM${font Snap.se:size=8} ${hr 1 }

Kernel: $alignr$kernel
Uptime: $alignr$uptime
Processes: ${alignr}$processes ($running_processes running)
Battery:${alignr}${battery}

CPU       ${alignc} ${freq}MHz / ${acpitemp}C ${alignr}(${cpu cpu1}%)
${cpubar 4 cpu1}
${cpugraph cccccc ffffff}
RAM ${alignr}$mem / $memmax ($memperc%)
${membar 4}
Highest CPU $alignr CPU% MEM%
${hr 1}
${top name 1}$alignr${top cpu 1}${top mem 1}
${top name 2}$alignr${top cpu 2}${top mem 2}
${top name 3}$alignr${top cpu 3}${top mem 3}

Highest MEM $alignr CPU% MEM%
${hr 1}
${top_mem name 1}$alignr${top_mem cpu 1}${top_mem mem 1}
${top_mem name 2}$alignr${top_mem cpu 2}${top_mem mem 2}
${top_mem name 3}$alignr${top_mem cpu 3}${top_mem mem 3}

${font Aerial:style=Bold:pixelsize=12}FILESYSTEM${font Snap.se:size=8} ${hr 1 }

Root: ${alignr}${fs_free /} / ${fs_size /}
${fs_bar 4 /}
Storage: ${alignr}${fs_free /storage} / ${fs_size /storage}
${fs_bar 4 /storage}${if_mounted /media/YOURTHUMBDRIVE}
Thumbdrive: ${alignr}${fs_free /media/YOURTHUMBDRIVE} / ${fs_size /media/STORE'N'GO}
${fs_bar 4 /media/YOURTHUMBDRIVE}${endif}
${if_up ppp0}
${font Aerial:style=Bold:pixelsize=12}NETWORK${font Snap.se:size=8} ${hr 1 }

Interface:${alignr}ppp0
IP Address:$alignr${addr ppp0}
Down ${downspeed ppp0} k/s ${alignr}Up ${upspeed ppp0} k/s
${downspeedgraph ppp0 25,107 cccccc ffffff} ${alignr}${upspeedgraph ppp0 25,107 cccccc ffffff}
Total ${totaldown ppp0} ${alignr}Total ${totalup ppp0}{$endif}

${font Aerial:style=Bold:pixelsize=12}${texeci 300 python /YOUR/PATH/TO/shuffleconky.py}${font Snap.se:size=8} ${hr 1 }

${if_existing /YOUR/PATH/TO/shuffleconky.txt 0}${execpi 900 python /YOUR/PATH/TO/gmail_parser.py YOURGMAILUSERNAME YOURGMAILPASSWORD 5}${endif}${if_existing /YOUR/PATH/TO/shuffleconky.txt 1}${execi 86400 fortune | fold -s -w54}${endif}${if_existing //YOUR/PATH/TO/shuffleconky.txt 2}${rss http://kb03.com/reddit500.rss 29 item_titles 5}${endif}${if_existing /YOUR/PATH/TO/shuffleconky.txt 3}${rss http://planet.ubuntulinux.org/rss20.xml 30 item_titles 5}${endif}

